import ArtVideo from '../../../components/ArtificialVideo'
import { connect } from 'dva'

const Video = ({dispatch}) => {
  const buttonData = {
    content: '开始视频',
    act: () => {
      dispatch({
        type: 'modules/getModules',
        payload: {
          pathname: '',
          businessId: '1231241221',
          tokenId: 'test',
          process: 'modifyPhone',
          title: '手机号修改'
        }
      })
    }
  }
  return (
    <ArtVideo buttonData={buttonData}></ArtVideo>
  )
}

export default connect(state => state.modifyPhone)(Video)